import { defineStore } from "pinia";

const store = defineStore({
  id: "locale-lang",
  state: () => ({
    language: "zh-CN",
  }),
  actions: {
    setLanguage(params: string) {
      this.language = params;
    },
  },
});
export default store;
